<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'seo-form',
	'enableAjaxValidation'=>false,
	'htmlOptions' => array('enctype' => 'multipart/form-data' )
)); 

?>

	<div class="line">
		<?php echo $form->labelEx($model,'route'); ?>
<?php echo $form->textField($model,'route',array('class'=>"medium")); ?>
&nbsp;(пример:/user/profile, * - значение по умолчанию)
<?php echo $form->error($model,'route'); ?>
	</div>
	
	<div class="line">
		<?php echo $form->labelEx($model,'title'); ?>
<?php echo $form->textField($model,'title',array('class'=>"medium")); ?>
<?php echo $form->error($model,'title'); ?>
	</div>
	
	<div class="line">
		<?php echo $form->labelEx($model,'keywords'); ?>
<?php echo $form->textArea($model,'keywords',array('class'=>"medium")); ?>
<?php echo $form->error($model,'keywords'); ?>
	</div>
	
	<div class="line">
		<?php echo $form->labelEx($model,'description'); ?>
<?php echo $form->textArea($model,'description',array('class'=>"medium")); ?>
<?php echo $form->error($model,'description'); ?>
	</div>
	

	
	<div class="line">
		<?php echo $form->labelEx($model,'reserved'); ?>
<?php echo $form->textArea($model,'reserved',array('class'=>"medium")); ?>
<?php echo $form->error($model,'reserved'); ?>
	</div>
	
<p class="note">Поля помеченные <span class="required">*</span> обязательны для заполнения.</p>


<div class="line button">		
	<button type="submit" class="green big"><span><?= $model->isNewRecord ? Yii::t('app', 'Добавить') : Yii::t('app', 'Сохранить'); ?></span></button>
	<button type="button" onclick="window.location.href=' <?=$this->createUrl('admin'); ?>'" class="green big"><span><?= Yii::t('app', 'Отмена'); ?></span></button>
</div>

<?php $this->endWidget(); ?>
